package com.znf.base.enums;

public enum ResultCodeEnum {
    SUCCESS("0", "操作成功"),
    FAIL("-1", "操作失败"),
    ERROR("500", "服务器内部错误"),
    UNAUTHORIZED("401", "未认证"),
    ;
    private String code;

    private String msg;

    ResultCodeEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
